package com.ctgu.model.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author yiMa
 * @since 2023-07-05
 */
@Getter
@Setter
  @ApiModel(value = "Company对象", description = "")
public class Company extends User implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("公司id")
      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("角色id")
      private String roleId;

      @ApiModelProperty("公司登入账户名")
      private String userName;

      @ApiModelProperty("密码")
      private String password;

      @ApiModelProperty("公司名")
      private String companyName;

      @ApiModelProperty("公司地址")
      private String companyAddr;

      @ApiModelProperty("公司电话")
      private String companyPhone;

      @ApiModelProperty("图片")
      private String companyImag;

      @ApiModelProperty("邮箱")
      private String email;

      @ApiModelProperty("账号状态（1正常 0停用）")
      private String status;


}
